<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />

        <!-- blueprint CSS framework -->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
        <!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
        <?php
// css
$baseUrl=Yii::app()->request->baseUrl;
//Yii::app()->clientScript->registerCSSFile($baseUrl.'/css/main.css');
Yii::app()->clientScript->registerScriptFile($baseUrl.'/js/jquery.corners.js', CClientScript::POS_HEAD);
Yii::app()->clientScript->registerScript('roundCorners', '$(".portlet,.postdate,.post .nav,.comment,.form").corners("7px");$(".portlet .content").corners("5px bottom");', CClientScript::POS_READY);

// initialize two application components
Yii::app()->widgetCollapse->init();
Yii::app()->highslide->init();
?>



    </head>

    <body>

        <div class="container" id="page">

            <div id="header">
                <div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
				<div id="subtitle">KEMENTERIAN KEUANGAN</div>
            </div><!-- header -->

            <div id="mainmenu">
                <?php $this->widget('application.extensions.JQuerySlideTopMenu.JQuerySlideTopMenu', array(
                    'items'=>array(
                    array('label'=>'Home', 'url'=>array('/post/index')),
                    array('label'=>'Tentang Kami', 'url'=>'#', 'subs'=>array(
                        array('label'=>'Sejarah', 'url'=>array('/aboutus/view&id=1')),
                        array('label'=>'Visi & Misi', 'url'=>array('/aboutus/view&id=2')),
                        array('label'=>'Kode Etik', 'url'=>array('/aboutus/view&id=3')),
                        array('label'=>'Struktur Organisasi', 'url'=>array('/aboutus/view&id=4')),
                        array('label'=>'Tugas & Fungsi', 'url'=>array('/aboutus/view&id=5')),
                        )),
                    array('label'=>'Pengaduan & Informasi', 'url'=>'#', 'subs'=>array(
                        array('label'=>'SOP Pengaduan', 'url'=>'#'),
                        array('label'=>'Formulir Pengaduan', 'url'=>'#'),
                        array('label'=>'Monitoring Pengaduan', 'url'=>'#'),
                        )),
                    array('label'=>'Unduh', 'url'=>'#', 'subs'=>array(
                        array('label'=>'Peraturan', 'url'=>'#'),
                        array('label'=>'Publikasi', 'url'=>'#'),
                        array('label'=>'Kliping', 'url'=>'#'),
                        )),
                    array('label'=>'Edukasi', 'url'=>'#'),
                    array('label'=>'FAQ', 'url'=>'#'),
                    //array('label'=>'Kontak Kami', 'url'=>'#'),
                    //array('label'=>'Profil', 'url'=>array('/profilMenkeu')),
		    //array('label'=>'Info & Disclaimer', 'url'=>array('/site/info')),
                    //array('label'=>'Contact', 'url'=>array('/site/contact')),
                    array('label'=>'Login', 'url'=>array('/user/user/login'), 'visible'=>Yii::app()->user->isGuest),
                    array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/user/user/logout'), 'visible'=>!Yii::app()->user->isGuest)
                    ),
                )); ?>
            </div><!-- mainmenu -->

            <?php $this->widget('zii.widgets.CBreadcrumbs', array(
                'links'=>$this->breadcrumbs,
            )); ?><!-- breadcrumbs -->

            <?php echo $content; ?>

            <div id="footer">
		Kementerian Keuangan &copy; <?php echo date('Y'); ?>.<br/>	
			komwas_perpajakan@depkeu.go.id<br/>
                Yii Framework
            </div><!-- footer -->
<!-- Web Toolbar -->
<!-- <script src="http://cdn.wibiya.com/Toolbars/dir_0437/Toolbar_437062/Loader_437062.js" type="text/javascript"></script> -->
<!-- Web Toolbar -->
        </div><!-- page -->

    </body>
</html>